package su.security.dao;

import java.sql.SQLException;
import java.util.List;

import net.kuakao.core.dto.PagerDTO;
import su.security.entity.SecurityUser;

/**
 *
 */
public interface ISecurityUserDAO {
	public SecurityUser login(String username,String userpwd) throws SQLException;
	public List<SecurityUser> queryByPage(PagerDTO s)throws SQLException;
	public SecurityUser getBaseinfo(int id)throws SQLException;
	
	public void insert(SecurityUser o)throws SQLException;
	public void update(SecurityUser o)throws SQLException;
	public void remove(int id)throws SQLException;
	public void operateResetPwd(String userpwd,int userId)throws SQLException;
}

